package com.investmenttechnologyservices.model;

import java.util.Date;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;



public class OptionEquity extends Option {
	
	public OptionEquity(Entity entity) {
		super(entity);
	}

	public OptionEquity(String id, Key firmKey, String name, Key issuerKey, 
			Key underlyingInstrumentKey, Date lastTradingDate,
			Double notionalAmount, Short expirationMonth, Short expirationYear, 
			Delivery delivery, OptionType optionType, OptionStyle optionStyle, 
			Key equityKey) 
	{
	    super(id, firmKey, name, issuerKey, underlyingInstrumentKey, lastTradingDate, 
	    	notionalAmount, expirationMonth, expirationYear, delivery, optionType, 
	    	optionStyle, InstrumentType.OPTIONEQUITY);
	}

	public InstrumentType underlyingInstrumentType() {
		return InstrumentType.EQUITY;
	}

}
